package org.example.system.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

public class CommentNew {
    private Long id;
    private String userId;
    private String scenicSpot;
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public String getUserId() { return userId; }
    public void setUserId(String userId) { this.userId = userId; }
    public String getScenicSpot() { return scenicSpot; }
    public void setScenicSpot(String scenicSpot) { this.scenicSpot = scenicSpot; }
    public String getContent() { return content; }
    public void setContent(String content) { this.content = content; }
    public Date getCreateTime() { return createTime; }
    public void setCreateTime(Date createTime) { this.createTime = createTime; }
} 